maximum product of two elements in an array